package com.neusoft.EYSystem.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class LeaveApply {
    @TableId(type = IdType.AUTO)
    private Integer leaveId;
    private Integer clientId;
    private String reason;
    private String leaveTime;
    private String expectedReturnTime;
    private String actualReturnTime;
    private String approvalStatus;
    private String approvalTime;
    private Integer approveId;
    private Integer applyId;

    public Boolean getVisible() {
        return isVisible;
    }

    public void setVisible(Boolean visible) {
        isVisible = visible;
    }

    private Boolean isVisible;

    public Integer getLeaveId() { return leaveId; }
    public void setLeaveId(Integer leaveId) { this.leaveId = leaveId; }
    public Integer getClientId() { return clientId; }
    public void setClientId(Integer clientId) { this.clientId = clientId; }
    public String getReason() { return reason; }
    public void setReason(String reason) { this.reason = reason; }
    public String getLeaveTime() { return leaveTime; }
    public void setLeaveTime(String leaveTime) { this.leaveTime = leaveTime; }
    public String getExpectedReturnTime() { return expectedReturnTime; }
    public void setExpectedReturnTime(String expectedReturnTime) { this.expectedReturnTime = expectedReturnTime; }
    public String getActualReturnTime() { return actualReturnTime; }
    public void setActualReturnTime(String actualReturnTime) { this.actualReturnTime = actualReturnTime; }
    public String getApprovalStatus() { return approvalStatus; }
    public void setApprovalStatus(String approvalStatus) { this.approvalStatus = approvalStatus; }
    public String getApprovalTime() { return approvalTime; }
    public void setApprovalTime(String approvalTime) { this.approvalTime = approvalTime; }
    public Integer getApproveId() { return approveId; }
    public void setApproveId(Integer approveId) { this.approveId = approveId; }
    public Integer getApplyId() { return applyId; }
    public void setApplyId(Integer applyId) { this.applyId = applyId; }

    @Override
    public String toString() {
        return "LeaveApply{" +
                "leaveId=" + leaveId +
                ", clientId=" + clientId +
                ", reason='" + reason + '\'' +
                ", leaveTime=" + leaveTime +
                ", expectedReturnTime=" + expectedReturnTime +
                ", actualReturnTime=" + actualReturnTime +
                ", approvalStatus='" + approvalStatus + '\'' +
                ", approvalTime=" + approvalTime +
                ", approveId=" + approveId +
                ", applyId=" + applyId +
                ", isVisible=" + isVisible +
                '}';
    }
}
